package com.seventh.parkingrent.controller.form;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 白秋洋
 * @Date: 2021/08/27/10:27
 * @Description:
 */
@Data
public class PasswordForm {

    private int userId;
    @NotNull
    @Length(min = 6 ,max = 9)
    private String password;

    @NotNull
    @Length(min = 6 ,max = 9)
    private String checkpassword;
}
